﻿
namespace Scoreboard.Model.Authentication
{
	public partial class ScoreboardUser
	{
		public string DisplayName
		{
			get
			{
				if (!string.IsNullOrEmpty(this.FriendlyName))
				{
					return this.FriendlyName;
				}
				else
				{
					return this.Name;
				}
			}
		}


	}
}